const item = {
  name: 'user',
  cn: '用户',
  path: '/user',
  defaultPath: '/user/list',
  level: 1,
  auths: [],
  haveRouter: [],
  hiddenRouter: [],
  children: [
    {
      name: 'UserUserListWrapper',
      cn: '用户列表',
      icon: '#icon-user',
      path: '/user/list',
      // componentPath: 'user/user/List',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: [
        {
          name: 'userList',
          cn: '用户列表',
          path: '/user/list',
          componentPath: 'user/user/List',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'userEdit',
          cn: '用户编辑',
          path: '/user/edit/:id',
          componentPath: 'user/user/Edit',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'editUserRole',
          cn: '角色编辑',
          path: '/user/editUserRole/:id',
          componentPath: 'user/user/EditRole',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        }
      ]
    },
    {
      name: 'UserRoleListWrapper',
      cn: '角色列表',
      icon: '#icon-userpermission',
      path: '/role/list',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: [
        {
          name: 'roleList',
          cn: '角色列表',
          path: '/role/list',
          componentPath: 'user/role/List',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          name: 'addRole',
          cn: '添加角色',
          path: '/role/add',
          componentPath: 'user/role/add',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'editRole',
          cn: '编辑角色',
          path: '/role/edit/:id',
          componentPath: 'user/role/edit',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        }
      ]
    },
    {
      name: 'AuthList',
      cn: '权限列表',
      path: '/auth/list',
      icon: '#icon-jurisdictio',
      componentPath: 'user/auth/List',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: [
        {
          name: 'authList',
          cn: '权限列表',
          path: '/auth/list',
          componentPath: 'user/auth/List',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          name: 'addAuth',
          cn: '添加权限',
          path: '/auth/add',
          componentPath: 'user/auth/add',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'authEdit',
          cn: '编辑某条权限',
          path: '/auth/edit/:id',
          componentPath: 'user/auth/edit',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'noPageRoleList',
          cn: '赋予角色权限',
          path: '/auth/noPageRoleList/:id',
          componentPath: 'user/auth/noPageRoleList',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        }
      ]
    },
    {
      name: 'AuthenticationList',
      cn: '实名认证列表',
      path: '/authentication/list',
      icon: '#icon-antonym',
      componentPath: 'user/authentication/List',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: [
        {
          name: 'authenList',
          cn: '实名认证列表',
          path: '/authentication/list',
          componentPath: 'user/authentication/List',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        }
      ]
    }
  ]
}

export default item
